//AdminConsole.User = Backbone.Model.extend({url : "http://localhost:8080/DailyPlanner2/rest/users/"});
var User = Backbone.Model.extend({
	url : function() {
		return this.collection.url + this.attributes.name;
	}
});

var UserCollection = Backbone.Collection.extend({
	model : User,
	url : "http://localhost:8080/DailyPlanner2/rest/users/",
	parse : function(data) {
		return data.user;
	}

});
